package com.xinye.opencvdemo

import android.app.Application

/**
 * 用用程序对象
 *
 * @author wangheng
 */
class AppApplication: Application() {

    companion object {
        private lateinit var sContext: AppApplication
        fun getAppContext(): AppApplication {
            return sContext
        }
    }

    override fun onCreate() {
        super.onCreate()

        sContext = this
    }
}